<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			let token = uni.getStorageSync('token')
			console.log('token',token)
			if(token){
				this.$store.commit('setLogin',{ token })
			}
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "@/components/package/format.scss";
	page{
		height: 100%;
		.title{
			padding:30rpx 20rpx;
		}
		
		.list{
			padding:0 20rpx;
			button+button{
				margin-left:10rpx;
			}
		}
	}
</style>
